﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;

namespace Cube.ImportAccount.Mapping
{
    public class UserEntity
    {
        [Column("id")]
        public string Id { get; set; }

        [Column("username")]
        public string UserName { get; set; }

        [Column("password")]
        public string PassWord { get; set; }

        [Column("mobile_phone")]
        public string MobilePhone { get; set; }

        [Column("openid")]
        public string OpenId { get; set; }

        [Column("unionid")]
        public string Unionid { get; set; }

        [Column("login_ip")]
        public string LoginIp { get; set; }

        [Column("login_time")]
        public DateTime? LoginTime { get; set; }

        [Column("create_date")]
        public DateTime? CreateTime { get; set; }

        [Column("update_date")]
        public DateTime? UpdateTime { get; set; }

        [Column("last_visit_time")]
        public DateTime? LastVisitTime { get; set; }
    }
}
